package com.ruoyi.system.domain.gallery;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图库案例原文对象 gallery_original
 * 
 * @author 张少丛
 * @date 2020-11-30
 */
public class GalleryOriginal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图库原文表ID */
    private Long galleryOriginalId;

    /** 图库ID */
    @Excel(name = "图库ID")
    private Long galleryInfoId;

    /** 案例标题 */
    @Excel(name = "案例标题")
    private String galleryOriginalTitle;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String galleryOriginalName;

    /** 项目地点 */
    @Excel(name = "项目地点")
    private String galleryOriginalPlace;

    /** 项目楼盘 */
    @Excel(name = "项目楼盘")
    private String galleryOriginalFloor;

    /** 项目面积 */
    @Excel(name = "项目面积")
    private Long galleryOriginalArea;

    /** 项目设计师 */
    @Excel(name = "项目设计师")
    private String galleryOriginalDesigner;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private GalleryInfo galleryInfo;

    public void setGalleryOriginalId(Long galleryOriginalId) 
    {
        this.galleryOriginalId = galleryOriginalId;
    }

    public Long getGalleryOriginalId() 
    {
        return galleryOriginalId;
    }

    public Long getGalleryInfoId() {
        return galleryInfoId;
    }

    public void setGalleryInfoId(Long galleryInfoId) {
        this.galleryInfoId = galleryInfoId;
    }

    public void setGalleryOriginalTitle(String galleryOriginalTitle)
    {
        this.galleryOriginalTitle = galleryOriginalTitle;
    }

    public String getGalleryOriginalTitle() 
    {
        return galleryOriginalTitle;
    }
    public void setGalleryOriginalName(String galleryOriginalName) 
    {
        this.galleryOriginalName = galleryOriginalName;
    }

    public String getGalleryOriginalName() 
    {
        return galleryOriginalName;
    }
    public void setGalleryOriginalPlace(String galleryOriginalPlace) 
    {
        this.galleryOriginalPlace = galleryOriginalPlace;
    }

    public String getGalleryOriginalPlace() 
    {
        return galleryOriginalPlace;
    }
    public void setGalleryOriginalFloor(String galleryOriginalFloor) 
    {
        this.galleryOriginalFloor = galleryOriginalFloor;
    }

    public String getGalleryOriginalFloor() 
    {
        return galleryOriginalFloor;
    }
    public void setGalleryOriginalDesigner(String galleryOriginalDesigner) 
    {
        this.galleryOriginalDesigner = galleryOriginalDesigner;
    }

    public String getGalleryOriginalDesigner() 
    {
        return galleryOriginalDesigner;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    public Long getGalleryOriginalArea() {
        return galleryOriginalArea;
    }

    public void setGalleryOriginalArea(Long galleryOriginalArea) {
        this.galleryOriginalArea = galleryOriginalArea;
    }

    public GalleryInfo getGalleryInfo() {
        return galleryInfo;
    }

    public void setGalleryInfo(GalleryInfo galleryInfo) {
        this.galleryInfo = galleryInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("galleryOriginalId", getGalleryOriginalId())
            .append("galleryOriginalTitle", getGalleryOriginalTitle())
            .append("galleryOriginalName", getGalleryOriginalName())
            .append("galleryOriginalPlace", getGalleryOriginalPlace())
            .append("galleryOriginalFloor", getGalleryOriginalFloor())
                .append("galleryOriginalArea", getGalleryOriginalArea())
            .append("galleryOriginalDesigner", getGalleryOriginalDesigner())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
